package com.hsq.spzx.pay;

import com.hsq.spzx.common.annotate.EnableUserTokenFeignInterceptor;
import com.hsq.spzx.common.annotate.EnableUserWebMvcConfiguration;
import com.hsq.spzx.pay.properties.AlipayProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author hsq
 * @date 2025-06-16 下午9:43
 */
@SpringBootApplication
//@EnableUserTokenFeignInterceptor
@EnableUserWebMvcConfiguration
@EnableConfigurationProperties(value = {AlipayProperties.class})
@EnableFeignClients(basePackages = {
        "com.hsq.spzx.feign.order",
        "com.hsq.spzx.feign.product"
})
public class PayApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayApplication.class , args) ;
    }
}
